<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="java.util.List"%>
<%@page import="com.ahp.bean.User"%>
<%@ include file="../include/common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="<%=path%>/style/style_manage.css" type="text/css"></link>
<title>用户列表</title>
</head>
<body>
<div id="management">
<h1 style="position: relative;">管理页面</h1>
<table border="1" cellpadding="0" cellspacing="0" class="table">
<%
List<User> managerList = null;
if(request.getAttribute("list") != null){
	managerList = (List<User>)request.getAttribute("list");
}
 %>
	<tbody>
		<tr>
			<th>用户登录名</th>
			<th>真实姓名</th>
			<th>性别</th>
			<th>公司</th>
			<th>职务</th>
			<th>email</th>
			<th>电话</th>
		</tr>
	<%for(int i =0;i<managerList.size();i++){
		User userinfo = managerList.get(i);
	 %>
		<tr>
			<td align="center"><%=userinfo.getLoginName() %></td>
			<td align="center"><%=userinfo.getTrueName() %></td>
			<td align="center"><%=userinfo.getSex() %></td>
			<td align="center"><%=userinfo.getCompany() %></td>
			<td align="center"><%=userinfo.getHeadship() %></td>
			<td align="center"><%=userinfo.getEmail() %></td>
			<td align="center"><%=userinfo.getPhone() %></td>
		</tr>
	<%} %>
	</tbody>
</table>
</div>
<div id="pages">
	${requestScope.pageStr }
</div>
</body>
</html>